---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: RoleBinding
metadata:
  name: prometheus-metrics-viewer
  namespace: {{ namespace }}
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: Role
  name: prometheus-metrics-viewer
subjects:
- kind: ServiceAccount
  namespace: {{ role_namespace }}
  name: {{ role_user }}
